$OpenBSD: patch-src_modules_rlm_sql_drivers_rlm_sql_iodbc_configure,v 1.2 2014/04/13 20:16:03 ajacoutot Exp $
--- src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure.orig	Mon Sep 10 13:51:34 2012
+++ src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure	Sun Apr 13 17:43:53 2014
@@ -2639,7 +2639,7 @@ smart_lib=
 smart_lib_dir=
 
 if test "x$smart_try_dir" != "x"; then
-  for try in $smart_try_dir; do
+  for try in $smart_try_dir ${LOCALBASE}/lib; do
     LIBS="-L$try -liodbc $old_LIBS"
     cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
